package com.cskaoyan.bean.chaosbean.goods.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author dengqwe
 * @datetime 2022/12/30 14:18
 * @description: TODO:
 */
@NoArgsConstructor
@Data
public class CommentListVO {
    @JsonProperty("total")
    private Integer total;
    @JsonProperty("pages")
    private Integer pages;
    @JsonProperty("limit")
    private Integer limit;
    @JsonProperty("page")
    private Integer page;
    @JsonProperty("list")
    private List<ListDTO> list;

    @NoArgsConstructor
    @Data
    public static class ListDTO {
        @JsonProperty("id")
        private Integer id;
        @JsonProperty("valueId")
        private Integer valueId;
        @JsonProperty("type")
        private Integer type;
        @JsonProperty("content")
        private String content;
        @JsonProperty("adminContent")
        private String adminContent;
        @JsonProperty("userId")
        private Integer userId;
        @JsonProperty("hasPicture")
        private Boolean hasPicture;
        @JsonProperty("picUrls")
        private List<?> picUrls;
        @JsonProperty("star")
        private Integer star;
        @JsonProperty("addTime")
        private String addTime;
        @JsonProperty("updateTime")
        private String updateTime;
        @JsonProperty("deleted")
        private Boolean deleted;
    }
}
